<template>
  <div class="home">
    <van-nav-bar
      title="淘宝"
      left-text="返回"
      left-arrow
    />
    <router-view></router-view>
    <van-tabbar route style="background:#e5e5e5">
      <van-tabbar-item replace to="/home/main" icon="home-o">主页</van-tabbar-item>
      <van-tabbar-item replace to="/home/more" icon="search">发现</van-tabbar-item>
      <van-tabbar-item replace to="/home/classfy" icon="apps-o">分类</van-tabbar-item>
      <van-tabbar-item replace to="/home/my" icon="manager-o">我的</van-tabbar-item>
      <van-tabbar-item replace to="/home/shopcar" icon="shopping-cart-o">购物车</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';

@Component({
  components: {

  },
  methods:{
    // onClickLeft(){
    //   this.$router.history.back()
    // }
  }
})
export default class Home extends Vue {}
</script>
